package com.thread.threadfirst.mybatisBase.service;

import com.thread.threadfirst.mybatisBase.dao.PurposeDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class PurposeService {

    //	@Autowired
    PurposeDao purposeDao;

    public void queryAll() {
        System.out.println(purposeDao.queryAll());
    }
}
